<?php
class GoodsModel extends Model{
    protected $_table = 'Goods';    
    public function getGoods($id){
        
        return $this->retrive('id = ? AND is_deleted = 0', array($id));
    }

}
?>